package com.party.course.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.party.common.annotation.Excel;
import com.party.common.core.domain.BaseEntity;
import lombok.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 金额分账明细对象 sub_amount_info
 *
 * @author ruoyi
 * @date 2025-06-06
 */
@Data
@TableName(value = "sub_amount_info")
@ToString
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
public class SubAmountInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * "订单编号"
     */
    @Excel(name = "订单编号")
    private String orderCode;

    /**
     * "收款人id"
     */
    @Excel(name = "收款人id")
    private String userId;

    /**
     * "排课id"
     */
    @Excel(name = "排课id")
    private String planClassId;

    /**
     * "所属学段"
     */
    @Excel(name = "所属学段")
    private Integer teachSection;

    /**
     * "课程等级"
     */
    @Excel(name = "课程等级")
    private Integer classLevel;

    /**
     * "角色"
     *      * 0交付中心，1教练，2学管，3合伙人，4软件，5公司  6 交付中心组长   7 合伙人上级俱乐部
     *
     */
    @Excel(name = "角色")
    private String role;

    /**
     * "分润金额"
     */
    @Excel(name = "分润金额")
    private BigDecimal profitAmount;

    private String delFlag;

    /**
     * 商户号-接收方
     */
    @TableField(exist = false)
    private String ledgerNo;


    /**
     * 用户昵称
     */
    @TableField(exist = false)
    private String nickName;



}
